package com.hairline.bean.vo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by fenglin on 2020/9/2 7:48 PM
 */
@AllArgsConstructor
@NoArgsConstructor
public class AdminCreateVo {

    /**
     * id : 89
     * username : qqqqq1
     * password : $2a$10$7HP/kp7bA8D9AeE75nVtIuInyHGvxGnOUSljt/cV2jcBwjvL6p9uO
     * addTime : 2020-09-02 19:46:00
     * updateTime : 2020-09-02 19:46:00
     * roleIds : [2,1]
     */

    private int id;
    private String username;
    private String password;
    private Date addTime;
    private Date updateTime;
    private Integer[] roleIds;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getAddTime() {
        return addTime;
    }
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public Integer[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Integer[] roleIds) {
        this.roleIds = roleIds;
    }
}
